package com.vhall.component.entity.filter.vo;

import com.vhall.component.framework.common.annotation.ParamName;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import java.io.Serializable;

/**
 * @author longzhen.gong
 * @date 2021/7/2 16:16
 */
@Data
public class FilterWordsListReqVO implements Serializable {

    private static final long serialVersionUID = 6427584652973549352L;

    private String search;

    /**
     * 1 商家  2公共
     */
    private Integer type;
    /**
     * 页码索引
     */
    @NotNull(message = "page can not null")
    @Min(value = 1L)
    private Integer page;
    /**
     * 房间id
     */
    @ParamName("room_id")
    private String roomId;
    /**
     * 单页数据量
     */
    @ParamName("page_size")
    @Positive
    private Integer pageSize;

    private String from;


}
